package com.sinosoft.perfect.system.license.service;

import java.sql.SQLException;

import com.sinosoft.perfect.system.license.vo.License;

public interface LicenseDataService {

	public License initLicense(String licenseMechine) throws SQLException ;
	
	public License initLicense() throws SQLException ;
	
	public String getLicenseStatus();
	
	public String registerLicense(License license);
	
	/**
	 * for after register to be request by dwr
	 * @return
	 * @throws SQLException
	 */
	public License initLicenseForShow() throws SQLException;
	
	public String deleteLicense(License license) throws SQLException;
}
